/*!
    \file       elecslvr.cpp
    \modified	02/14/11
    \copyright  (c) Diego F Andrade (diegoandrade@gmail.com)
    \licence    GPL
    \brief      Describes matrix class
    \author     Diego F Andrade
    \date	02/14/11
 */

#include "elec_solver.h"

//const double pi = 4*atan(1); // Constant value for PI
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

elecslvr::elecslvr()
{
	
}

elecslvr::~elecslvr() 
{
	
}


float elecslvr::centroide(float p1, float p2, float p3)
{
    float c = 0.0;
    
    c = 1/3*(p1+p2+p3);
    
    return c;
    
}
